SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd17c7dd49bb242dedb46b615c698d4e09965e1954048b2f3f2630d033750b344' 
  AND token = 'Gja0Qe2YWnEp6yULKMYMhYa4wCtF/6X90iCgwQKOCx0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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