SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '589a6f460524c07c5cf5cb0bdd310ff33270c0e499bd458b9490af1613faa757' 
  AND token = 'G4Z/5K1pvUebYhneRDmiXTyHBE8mopczEPB7QEvPd1o=' 
  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"
    }
  }
}