SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31ac6c87208308fa887540bf80a2b07795eee1c6cabc9f0e3b5331733c5d654c' 
  AND token = 'Z7LiLq0Blb44+1vplOUlP/wK74Mkb61SHEoWpMKVC+w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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