SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0e7fbe2c125046013cc0729a591d32b8a9317ea2d3027e4d48c2b3c8125c08e' 
  AND token = 'YhVUO/XvSh2tynidbDm6kBZG0O7T543yirRS/bG3P0A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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