SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40a5e96edbfa6f7346d809bb4b637d1cb9a647596e6632c170aecae1ef477279' 
  AND token = 'DvyRrXa6VU+trPsZUEFoAMq9rbP9p88rf/tykMgYe/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}