SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50b92ca1952be4f3c7fa95e48daf48b258816ecb367f8bad964deca972f3cac5' 
  AND token = 'KUAG4+4UHOM5t+FAwsswU6ztp15FnqCu+w1SKJUDPK0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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