SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52946ed68b86d99b751d2c1340785d942fa0a8dd5695230924b8a926d51e2dde' 
  AND token = 'hEXEtSb2poT6gO78ZFn/A15ciKmNZSO8IEbC+rrTcc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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