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

Query time 0.00039

JSON explain

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