SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '55fc734b6eea091d5908fbb362d4fb6368ec37d389e609fd781077da75d1d1ba' 
  AND token = 'L/BsnSbg22B5CbWwVnj0t2ExGUmU/VxNM7T7pWIVIuQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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