SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e80bd2e20006405d3a3ce9a431403e470148431088065cd6b41597f0641d7af' 
  AND token = '5ZvKfRaocVRWFk1HESmdj7Gl5GYMAqC3kqNtQCtFzkU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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