SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07f0ebc824671326836e656712886ebf253ba85005ed2af14a91a0083c867c82' 
  AND token = 'tcl3CKjNuaLft6yCFYQBBEBiWc8DoIyIx9oxL7SsLqQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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