SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50f03072f023a3b6ade79ed42b4df53acfca2fa85a5eae5615528258f93866a4' 
  AND token = 'nv0HJDfZp7MJNXWmJwoavHtQu2uUMynMN8aQL39OdrM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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