SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '196791f0029471c458783a9fe86caeebcff25c9b2e5c21c5235b8ea3a931160a' 
  AND token = 'GdiQ5CC9rT2j5jOHW250QDELIROugb+sDupjINMdeco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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