SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2458dd7f0332d2fc9d73a8b782673d8509d96b90a500d6a56670e4065e332f12' 
  AND token = 'eKcJBc02GEwviAtVe8z9mzm2SLQvvrCI9x259leosY8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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