SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af577467a727563765bbab030677d4890ab1ed7035dd1bb049d72a32ba1be9f6' 
  AND token = 'g9u3uEK5ms5B/DPxL7svli3WzBYJaRU6zLUELrXdRh8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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