SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db98ce2b5e16528c83f8627c2d415d0c1a6088206fe9c62fac7cb24dbe641a1e' 
  AND token = 'Ru2gt5WQMumBdyrMxM9qpc1XwrXCcW6eD3STWukKlnA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}