SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2817a323c3b08a511744adf5dc6f051d21983bcc3148a35ce5821c53ae9dce48' 
  AND token = 'VOOsb3qJjnASmQLTJfLtYM3T2Ps/E0c53fD445rgg7Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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