SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4afc5b98713b0474575c3c5a4cf343ca95bebc8130d6a9b1f4e1b96fa8bfe84' 
  AND token = 'FGZ2BYBWG6apyqc3lnT0ipPOE2nWo0F+KNpMxSMHe80=' 
  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"
    }
  }
}