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

Query time 0.00043

JSON explain

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