SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '597b8be8ab458dc0ca9e629b9c14b520babbce9ee7e07d09363d0fdb8e9e81b9' 
  AND token = 'tQ5bL/K0LqQcJ1kFzZJytoxsD1QgbY24RTGQ0ysGEnU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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