SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd317989c8860a630825e8b657a0dc2b283663c3b5cdcc086fd80d23699516c81' 
  AND token = '2aUZ1N7P0/leeseC7UT/4itcQ7yLZsfD7MkTkLJulb0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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