SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ef38f5d78f8ddb1001356ee7822754a0f234202e5fd7ad5c9fa6263969d2ccc' 
  AND token = 'xtk1rNyXNXEAOh4nd924VRWHCLAYRYQTQalWvZD3RwU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00234

JSON explain

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