SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fb6fe628932887dd34056c63976d64ad635890d9627b9853eee2ff4078ab6c1' 
  AND token = 'tcSFmkX1v6q7IcIS2yid79v9Y9Xy97x6anjmOQjWhd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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