SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '57e5f713eff30d1a3f58964a1ee6e0dab13c175ec495889a8134641d7ba0e262' 
  AND token = 'YYRNHXOmol82nCfKZpyY1n6hkyFhZk/1BUjvR5tR77U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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