SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3216651306afc8d8fa9b06d9dfcb43348a4cba46ca858d1b590fea9493d7bec1' 
  AND token = 'ieB5SFdpu7f4tNgKRUkKmHX/7InN6Vw62N7YR+fwlrY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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