SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865fde466057f98d38cc38c9c004fdb652177731b258d9c779de99f2221b7243' 
  AND token = 'VYmPsPhhvmXHKvGqe8n5octGnZELza6vwct74btncg4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}