SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45871b7927341ca0c46147b2803c7107108b8b6af7fb3481395b7203844c8e9c' 
  AND token = 'JG4HfeGFOwe+uJzS4B58xC+9kIqW4RXrr64s5jP381o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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