SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aef8178d1425a3104ffd508d490a8b455ad1b5372130cdf7ca3dd0fb81c415e8' 
  AND token = 'HgUgAS/+p3/+lHIsqJ5mWWsDsPMSHjDVdZ/gdzCYg5o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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