SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5d7516808328a9cf618bf00d0b7869f9c1241e9a14d120d188f0b6dd04a15ba' 
  AND token = 'zO7ywqiuzZcoz849rn7994UEvjCC7hCcfbomVbuBHUs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00179

JSON explain

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