SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8574ab5396d9c81f358bc528024dde1ce6dfbaae7ee029e47720957608b3ead2' 
  AND token = 'TgC267xN2i1euPKNeRCgGIq6ECmBzEkFYO6Ex/Z44+c=' 
  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"
    }
  }
}