SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ebec159c9f5a17fd794cce87e2a0b561b4d4d87e89726318a5095a17db019b9' 
  AND token = 'bu01ywz/LMRcX6alVLxaGIvK9htSmkX35BU810byjCE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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