SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b790552c163c19e84160af611f2f249e6a6e2422da421195905c42e7c416b9be' 
  AND token = 'XOytISEjQbG5gi32aYQhCb4syLZA1q8E0oZiZL+SmZQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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