SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4512eae31d87e5fbb9d521cae65240ca535de471297f3d0efd9c3566e14d3dc9' 
  AND token = 'FOmcDs/v4PIw7bbYahhjUHuPS/nag8e+H09uL/GcDSU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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